gboolean animations_before;
int min_height, min_width;
int min_child_width, min_child_height;
- GtkRevealer *revealer = gtk_revealer_new ();
+ GtkRevealer *revealer = GTK_REVEALER (gtk_revealer_new ());
GtkWidget *child = gtk_button_new_with_label ("Some Text!");
GtkSettings *settings = gtk_settings_get_default ();
static void
slide_down_no_animations ()
{
- keep_size (KEEP_WIDTH, GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN, TRUE);
+ keep_size (KEEP_WIDTH, GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN, FALSE);
}
static void
static void
slide_up_no_animations ()
{
- keep_size (KEEP_WIDTH, GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP, TRUE);
+ keep_size (KEEP_WIDTH, GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP, FALSE);
}
int